package com.yzion.demo_coollist.net

import com.yzion.demo_coollist.model.GankResults
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path

/**
 * Created by wanglei on 2016/12/31.
 */
interface GankApiService {
    @GET("data/{type}/{number}/{page}")
    fun getGankData(
        @Path("type") type: String?,
        @Path("number") pageSize: Int,
        @Path("page") pageNum: Int
    ): Call<GankResults?>?
}